<script>on mouseUpglobal multPlyif the short name of me is "pictures" thenset the name of me to "Numbers"repeat with n = 1 to 16set the icon of btn n to emptyset the showName of btn n to trueset the name of btn n to nend repeatput 1.25 into multPlyexit to hypercardelse if the short name of me is "numbers" thenset the name of me to "Nothing"repeat with n = 1 to 16set the icon of btn n to emptyset the showName of btn n to falseend repeatput 1.5 into multPlyexit to hypercardelse if the short name of me is "Nothing" thenset the name of me to "Pictures"repeat with n = 1 to 16set the icon of btn n to "Ic"& nset the showName of btn n to falseend repeatput 1 into multPlyexit to hypercardend ifend mouseUp</script>
</part>
<part>
<id>2</id>
<type>button</type>
<visible> <false /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>13</left>
<top>27</top>
<right>113</right>
<bottom>49</bottom>
</rect>
<style>rectangle</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Set</name>
<script>on mouseUpset cursor to busyrepeat with n = 2 to the number of cd buttonsset the script of btn n to the script of btn 1end repeatend mouseUp</script>
</part>
<part>
<id>3</id>
<type>button</type>
<visible> <false /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>248</left>
<top>26</top>
<right>267</right>
<bottom>49</bottom>
</rect>
<style>roundrect</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <false /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Go</name>
<script>on mouseUpglobal spotglobal followPatput empty into followPatrepeat with n = 1 to the number of words in spotset the hilite of btn (word n of spot) to truedo line (word n of spot) of field 1wait 30set the hilite of btn (word n of spot) to falseend repeatend mouseup</script>
</part>
<part>
<id>4</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>311</left>
<top>109</top>
<right>372</right>
<bottom>182</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <false /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Done</name>
<script>on mouseUpglobal followPat,spot, patNum,level,multPly,startGameif startGame is "true" thenif followPat = spot thenwait 10add round((the number of words in spot)*level*multPly*(cd field id 18/5)) to card field 1play "harpsichord" tempo 1000 d e fwait 10if (the number of words in spot) >= cd field 2 thennewLevelend ifelseplay "harpsichord" e d cwait until the sound is donewait 30repeat with n = 1 to the number of words in spotset the hilite of btn (word n of spot) to truedo line (word n of spot) of field 1wait 30set the hilite of btn (word n of spot) to falseend repeatput empty into spotput "false" into startGamehinumbersexit to hypercardend ifput " "& random(level*4) &" " after spotsend mouseup to bg btn id 3elsebeepexit to hyperCardend ifend mouseUp</script>
</part>
<part>
<id>6</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>439</left>
<top>312</top>
<right>500</right>
<bottom>330</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <false /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Start</name>
<script>on mouseUpglobal patnum,spot,level,startGameput "true" into startGameput 0 into cd field 1put empty into spotput 1 into levelrepeat with n = 5 to 16hide btn nend repeatrepeat with n = 1 to patnumput " "& random(4) &" " after spotend repeatsend mouseup to bg btn id 3end mouseUp</script>
</part>
<part>
<id>8</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <false /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <false /> </lockText>
<rect>
<left>278</left>
<top>108</top>
<right>438</right>
<bottom>208</bottom>
</rect>
<style>scrolling</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>left</textAlign>
<font>Geneva</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<textHeight>16</textHeight>
<name></name>
<script></script>
</part>
<part>
<id>9</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>310</left>
<top>84</top>
<right>372</right>
<bottom>104</bottom>
</rect>
<style>shadow</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <true /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Clear</name>
<script>on mouseUpglobal followPatput empty into followPatend mouseUp</script>
</part>
<part>
<id>11</id>
<type>button</type>
<visible> <true /> </visible>
<reserved5> 0 </reserved5>
<reserved4> 0 </reserved4>
<reserved3> 0 </reserved3>
<reserved2> 0 </reserved2>
<reserved1> 0 </reserved1>
<enabled> <true /> </enabled>
<rect>
<left>21</left>
<top>330</top>
<right>79</right>
<bottom>342</bottom>
</rect>
<style>rectangle</style>
<showName> <true /> </showName>
<highlight> <false /> </highlight>
<autoHighlight> <true /> </autoHighlight>
<sharedHighlight> <false /> </sharedHighlight>
<family>0</family>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Chicago</font>
<textSize>12</textSize>
<textStyle>plain</textStyle>
<name>Quit</name>
<script>on mouseUpif there is a stack "home" thengo homeelsedomenu "quit hypercard"end ifend mouseUp</script>
<script>on newLevelglobal level,spot,patnumif level <= 3 and patnum = 3 thenrepeat with n = ((level*4)+1) to ((level+1)*4)show btn nend repeatput empty into spotadd 1 to levelrepeat with n = 1 to 2put " "& random(level*4) &" " after spotend repeatend ifend newLevel</script>